package com.cy.mall.model.ao.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description 保存填写家具订单信息字段
 * @Author tanyilin
 * @Date 2019/4/2 14:04
 */
@Data
@ApiModel("保存填写家具订单信息字段")
public class OrderGoodsExtraInfoSaveAO {

    @ApiModelProperty(value = "订单ID", example = "0")
    @NotNull(message = "订单ID不可为空")
    private Long orderId;

    @ApiModelProperty(value = "品牌ID", example = "0")
    @NotNull(message = "品牌ID不可为空")
    private Long brandId;

    @ApiModelProperty(value = "门店ID", example = "0")
    private Long storeId;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "门店名称")
    private String storeName;

    @ApiModelProperty(value = "门店联系方式")
    private String storeContactWay;

    @ApiModelProperty(value = "收货地址")
    @NotEmpty(message = "收货地址不可为空")
    private String receiveAddress;

    @ApiModelProperty(value = "购买证明图片数组")
    @NotNull(message = "购买证明不可为空")
    private List<OrderImageAddAO> purchaseProofList;
}
